package com.woniuxy.usercoachassemble.service.impl;

import com.woniuxy.usercoachassemble.entity.Advertising;
import com.woniuxy.usercoachassemble.dao.AdvertisingMapper;
import com.woniuxy.usercoachassemble.service.AdvertisingService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类1
 * </p>
 *
 * @author Lucas
 * @since 2020-07-22
 */
@Service
public class AdvertisingServiceImpl extends ServiceImpl<AdvertisingMapper, Advertising> implements AdvertisingService {
    @Autowired
    private AdvertisingMapper advertisingMapper;
    @Override
    public List<Advertising> selectAdv() {
        return advertisingMapper.selectList(null);
    }
}
